package cn.zyx.sys.mapper;

import cn.zyx.common.entity.Page;
import cn.zyx.sys.entity.Post;
import cn.zyx.sys.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 岗位MAPPER接口
 * @author zyx
 */
@Mapper
public interface PostMapper {

    Post get(String id);

    List<Post> findAllList(Post post);

    /**
     * 查询分页的用户总数
     */
    Integer findPageCount(Post post);

    List<Post> findList(Post post);

    void save(Post post);

    void delete(Post post);

}